package com.fuego.creditsystemcommodity.controller;


import com.fuego.creditsystemcommodity.service.IHotelTypeService;
import jakarta.annotation.Resource;
import org.example.dto.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/hotel-type")
public class HotelTypeController {
    @Resource
    private IHotelTypeService typeService;

    @GetMapping("list")
    public Result queryTypeList() {
        return typeService.queryTypeList();
    }
}
